// 设置选择的教室 id
export const setRoomId = (id) => {
    window.localStorage.setItem('roomId', id)
}
// 获取选择的教室 id
export const getRoomId = () => {
    return window.localStorage.getItem('roomId')
}

// 设置选择的教室的位置
export const setRoomLocation = (location) => {
    window.localStorage.setItem('roomLocation', location)
}

// 获取选择的教室的位置
export const getRoomLocation = () => {
    return window.localStorage.getItem('roomLocation')
}

// 设置选择的教室的 number
export const setRoomNumber = (number) => {
    window.localStorage.setItem('roomNumber', number)
}

// 获取选择的教室的 number
export const getRoomNumber = () => {
    return window.localStorage.getItem('roomNumber')
}